set(ProjectName "NFRebotServerPlugin")
file(GLOB NFRebotServerPlugin_ROOT_Cpp
	*.cpp)

file(GLOB NFRebotServerPlugin_ROOT_Hpp 
	*.h)

add_library(NFRebotServerPlugin SHARED
	${NFRebotServerPlugin_ROOT_Cpp}
	${NFRebotServerPlugin_ROOT_Hpp})
	
set_target_properties( NFRebotServerPlugin PROPERTIES OUTPUT_NAME_DEBUG "NFRebotServerPlugin_d")
set_target_properties( NFRebotServerPlugin PROPERTIES PREFIX "")
set_target_properties( NFRebotServerPlugin PROPERTIES 
	FOLDER "NFServer/NFRebotServer"
	ARCHIVE_OUTPUT_DIRECTORY ${NFOutPutDir}
	RUNTIME_OUTPUT_DIRECTORY ${NFOutPutDir}
	LIBRARY_OUTPUT_DIRECTORY ${NFOutPutDir} )
link_NFSDK("NFRebotServerPlugin")

if(UNIX)
	add_definitions(
		-D_USRDLL
		-DELPP_NO_DEFAULT_LOG_FILE
	)

else()
	add_definitions(
		-DWIN
		-D_USRDLL
		-DELPP_NO_DEFAULT_LOG_FILE
	)

endif()